using Google.ProtocolBuffers;
using Google.ProtocolBuffers.Collections;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class SnsUploadResponse : GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<SnsUploadResponse, SnsUploadResponse.Builder>
		{
			private bool resultIsReadOnly;
			private SnsUploadResponse result;
			protected override SnsUploadResponse.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override SnsUploadResponse MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override SnsUploadResponse DefaultInstanceForType
			{
				get
				{
					return SnsUploadResponse.DefaultInstance;
				}
			}
			public BaseResponse BaseResponse
			{
				get
				{
					return this.result.BaseResponse;
				}
				set
				{
					this.SetBaseResponse(value);
				}
			}
			public uint StartPos
			{
				get
				{
					return this.result.StartPos;
				}
				set
				{
					this.SetStartPos(value);
				}
			}
			public uint TotalLen
			{
				get
				{
					return this.result.TotalLen;
				}
				set
				{
					this.SetTotalLen(value);
				}
			}
			public string ClientId
			{
				get
				{
					return this.result.ClientId;
				}
				set
				{
					this.SetClientId(value);
				}
			}
			public SnsBufferUrl BufferUrl
			{
				get
				{
					return this.result.BufferUrl;
				}
				set
				{
					this.SetBufferUrl(value);
				}
			}
			public uint ThumbUrlCount
			{
				get
				{
					return this.result.ThumbUrlCount;
				}
				set
				{
					this.SetThumbUrlCount(value);
				}
			}
			public IPopsicleList<SnsBufferUrl> ThumbUrlsList
			{
				get
				{
					return this.PrepareBuilder().thumbUrls_;
				}
			}
			public int ThumbUrlsCount
			{
				get
				{
					return this.result.ThumbUrlsCount;
				}
			}
			public ulong Id
			{
				get
				{
					return this.result.Id;
				}
				set
				{
					this.SetId(value);
				}
			}
			public uint Type
			{
				get
				{
					return this.result.Type;
				}
				set
				{
					this.SetType(value);
				}
			}
			public Builder()
			{
				this.result = SnsUploadResponse.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(SnsUploadResponse cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private SnsUploadResponse PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					SnsUploadResponse other = this.result;
					this.result = new SnsUploadResponse();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override SnsUploadResponse.Builder Clear()
			{
				this.result = SnsUploadResponse.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override SnsUploadResponse.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new SnsUploadResponse.Builder(this.result);
				}
				return new SnsUploadResponse.Builder().MergeFrom(this.result);
			}
			public override SnsUploadResponse BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override SnsUploadResponse.Builder MergeFrom(IMessageLite other)
			{
				if (other is SnsUploadResponse)
				{
					return this.MergeFrom((SnsUploadResponse)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override SnsUploadResponse.Builder MergeFrom(SnsUploadResponse other)
			{
				return this;
			}
			public override SnsUploadResponse.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override SnsUploadResponse.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(SnsUploadResponse._snsUploadResponseFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = SnsUploadResponse._snsUploadResponseFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 34u)
					{
						if (num3 <= 10u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								BaseResponse.Builder builder = BaseResponse.CreateBuilder();
								if (this.result.hasBaseResponse)
								{
									builder.MergeFrom(this.BaseResponse);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseResponse = builder.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 16u)
							{
								this.result.hasStartPos = input.ReadUInt32(ref this.result.startPos_);
								continue;
							}
							if (num3 == 24u)
							{
								this.result.hasTotalLen = input.ReadUInt32(ref this.result.totalLen_);
								continue;
							}
							if (num3 == 34u)
							{
								this.result.hasClientId = input.ReadString(ref this.result.clientId_);
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 48u)
						{
							if (num3 == 42u)
							{
								SnsBufferUrl.Builder builder2 = SnsBufferUrl.CreateBuilder();
								if (this.result.hasBufferUrl)
								{
									builder2.MergeFrom(this.BufferUrl);
								}
								input.ReadMessage(builder2, extensionRegistry);
								this.BufferUrl = builder2.BuildPartial();
								continue;
							}
							if (num3 == 48u)
							{
								this.result.hasThumbUrlCount = input.ReadUInt32(ref this.result.thumbUrlCount_);
								continue;
							}
						}
						else
						{
							if (num3 == 58u)
							{
								input.ReadMessageArray<SnsBufferUrl>(num, text, this.result.thumbUrls_, SnsBufferUrl.DefaultInstance, extensionRegistry);
								continue;
							}
							if (num3 == 64u)
							{
								this.result.hasId = input.ReadUInt64(ref this.result.id_);
								continue;
							}
							if (num3 == 72u)
							{
								this.result.hasType = input.ReadUInt32(ref this.result.type_);
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public SnsUploadResponse.Builder SetBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = value;
				return this;
			}
			public SnsUploadResponse.Builder SetBaseResponse(BaseResponse.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = builderForValue.Build();
				return this;
			}
			public SnsUploadResponse.Builder MergeBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseResponse && this.result.baseResponse_ != BaseResponse.DefaultInstance)
				{
					this.result.baseResponse_ = BaseResponse.CreateBuilder(this.result.baseResponse_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseResponse_ = value;
				}
				this.result.hasBaseResponse = true;
				return this;
			}
			public SnsUploadResponse.Builder ClearBaseResponse()
			{
				this.PrepareBuilder();
				this.result.hasBaseResponse = false;
				this.result.baseResponse_ = null;
				return this;
			}
			public SnsUploadResponse.Builder SetStartPos(uint value)
			{
				this.PrepareBuilder();
				this.result.hasStartPos = true;
				this.result.startPos_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearStartPos()
			{
				this.PrepareBuilder();
				this.result.hasStartPos = false;
				this.result.startPos_ = 0u;
				return this;
			}
			public SnsUploadResponse.Builder SetTotalLen(uint value)
			{
				this.PrepareBuilder();
				this.result.hasTotalLen = true;
				this.result.totalLen_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearTotalLen()
			{
				this.PrepareBuilder();
				this.result.hasTotalLen = false;
				this.result.totalLen_ = 0u;
				return this;
			}
			public SnsUploadResponse.Builder SetClientId(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasClientId = true;
				this.result.clientId_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearClientId()
			{
				this.PrepareBuilder();
				this.result.hasClientId = false;
				this.result.clientId_ = "";
				return this;
			}
			public SnsUploadResponse.Builder SetBufferUrl(SnsBufferUrl value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBufferUrl = true;
				this.result.bufferUrl_ = value;
				return this;
			}
			public SnsUploadResponse.Builder SetBufferUrl(SnsBufferUrl.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBufferUrl = true;
				this.result.bufferUrl_ = builderForValue.Build();
				return this;
			}
			public SnsUploadResponse.Builder MergeBufferUrl(SnsBufferUrl value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBufferUrl && this.result.bufferUrl_ != SnsBufferUrl.DefaultInstance)
				{
					this.result.bufferUrl_ = SnsBufferUrl.CreateBuilder(this.result.bufferUrl_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.bufferUrl_ = value;
				}
				this.result.hasBufferUrl = true;
				return this;
			}
			public SnsUploadResponse.Builder ClearBufferUrl()
			{
				this.PrepareBuilder();
				this.result.hasBufferUrl = false;
				this.result.bufferUrl_ = null;
				return this;
			}
			public SnsUploadResponse.Builder SetThumbUrlCount(uint value)
			{
				this.PrepareBuilder();
				this.result.hasThumbUrlCount = true;
				this.result.thumbUrlCount_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearThumbUrlCount()
			{
				this.PrepareBuilder();
				this.result.hasThumbUrlCount = false;
				this.result.thumbUrlCount_ = 0u;
				return this;
			}
			public SnsBufferUrl GetThumbUrls(int index)
			{
				return this.result.GetThumbUrls(index);
			}
			public SnsUploadResponse.Builder SetThumbUrls(int index, SnsBufferUrl value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.thumbUrls_[index] = value;
				return this;
			}
			public SnsUploadResponse.Builder SetThumbUrls(int index, SnsBufferUrl.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.thumbUrls_[index] = builderForValue.Build();
				return this;
			}
			public SnsUploadResponse.Builder AddThumbUrls(SnsBufferUrl value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.thumbUrls_.Add(value);
				return this;
			}
			public SnsUploadResponse.Builder AddThumbUrls(SnsBufferUrl.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.thumbUrls_.Add(builderForValue.Build());
				return this;
			}
			public SnsUploadResponse.Builder AddRangeThumbUrls(IEnumerable<SnsBufferUrl> values)
			{
				this.PrepareBuilder();
				this.result.thumbUrls_.Add(values);
				return this;
			}
			public SnsUploadResponse.Builder ClearThumbUrls()
			{
				this.PrepareBuilder();
				this.result.thumbUrls_.Clear();
				return this;
			}
			public SnsUploadResponse.Builder SetId(ulong value)
			{
				this.PrepareBuilder();
				this.result.hasId = true;
				this.result.id_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearId()
			{
				this.PrepareBuilder();
				this.result.hasId = false;
				this.result.id_ = 0uL;
				return this;
			}
			public SnsUploadResponse.Builder SetType(uint value)
			{
				this.PrepareBuilder();
				this.result.hasType = true;
				this.result.type_ = value;
				return this;
			}
			public SnsUploadResponse.Builder ClearType()
			{
				this.PrepareBuilder();
				this.result.hasType = false;
				this.result.type_ = 0u;
				return this;
			}
		}
		public const int BaseResponseFieldNumber = 1;
		public const int StartPosFieldNumber = 2;
		public const int TotalLenFieldNumber = 3;
		public const int ClientIdFieldNumber = 4;
		public const int BufferUrlFieldNumber = 5;
		public const int ThumbUrlCountFieldNumber = 6;
		public const int ThumbUrlsFieldNumber = 7;
		public const int IdFieldNumber = 8;
		public const int TypeFieldNumber = 9;
		private static readonly SnsUploadResponse defaultInstance;
		private static readonly string[] _snsUploadResponseFieldNames;
		private static readonly uint[] _snsUploadResponseFieldTags;
		private bool hasBaseResponse;
		private BaseResponse baseResponse_;
		private bool hasStartPos;
		private uint startPos_;
		private bool hasTotalLen;
		private uint totalLen_;
		private bool hasClientId;
		private string clientId_ = "";
		private bool hasBufferUrl;
		private SnsBufferUrl bufferUrl_;
		private bool hasThumbUrlCount;
		private uint thumbUrlCount_;
		private PopsicleList<SnsBufferUrl> thumbUrls_ = new PopsicleList<SnsBufferUrl>();
		private bool hasId;
		private ulong id_;
		private bool hasType;
		private uint type_;
		private int memoizedSerializedSize = -1;
		public static SnsUploadResponse DefaultInstance
		{
			get
			{
				return SnsUploadResponse.defaultInstance;
			}
		}
		public override SnsUploadResponse DefaultInstanceForType
		{
			get
			{
				return SnsUploadResponse.DefaultInstance;
			}
		}
		protected override SnsUploadResponse ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseResponse BaseResponse
		{
			get
			{
				return this.baseResponse_ ?? BaseResponse.DefaultInstance;
			}
		}
		public uint StartPos
		{
			get
			{
				return this.startPos_;
			}
		}
		public uint TotalLen
		{
			get
			{
				return this.totalLen_;
			}
		}
		public string ClientId
		{
			get
			{
				return this.clientId_;
			}
		}
		public SnsBufferUrl BufferUrl
		{
			get
			{
				return this.bufferUrl_ ?? SnsBufferUrl.DefaultInstance;
			}
		}
		public uint ThumbUrlCount
		{
			get
			{
				return this.thumbUrlCount_;
			}
		}
		public IList<SnsBufferUrl> ThumbUrlsList
		{
			get
			{
				return this.thumbUrls_;
			}
		}
		public int ThumbUrlsCount
		{
			get
			{
				return this.thumbUrls_.Count;
			}
		}
		public ulong Id
		{
			get
			{
				return this.id_;
			}
		}
		public uint Type
		{
			get
			{
				return this.type_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				if (!this.hasBaseResponse)
				{
					return false;
				}
				if (!this.hasStartPos)
				{
					return false;
				}
				if (!this.hasTotalLen)
				{
					return false;
				}
				if (!this.hasBufferUrl)
				{
					return false;
				}
				if (!this.hasThumbUrlCount)
				{
					return false;
				}
				if (!this.hasId)
				{
					return false;
				}
				if (!this.hasType)
				{
					return false;
				}
				if (!this.BaseResponse.IsInitialized)
				{
					return false;
				}
				if (!this.BufferUrl.IsInitialized)
				{
					return false;
				}
				using (IEnumerator<SnsBufferUrl> enumerator = this.ThumbUrlsList.GetEnumerator())
				{
					while (enumerator.MoveNext())
					{
						SnsBufferUrl current = enumerator.get_Current();
						if (!current.IsInitialized)
						{
							return false;
						}
					}
				}
				return true;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseResponse)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseResponse);
				}
				if (this.hasStartPos)
				{
					num += CodedOutputStream.ComputeUInt32Size(2, this.StartPos);
				}
				if (this.hasTotalLen)
				{
					num += CodedOutputStream.ComputeUInt32Size(3, this.TotalLen);
				}
				if (this.hasClientId)
				{
					num += CodedOutputStream.ComputeStringSize(4, this.ClientId);
				}
				if (this.hasBufferUrl)
				{
					num += CodedOutputStream.ComputeMessageSize(5, this.BufferUrl);
				}
				if (this.hasThumbUrlCount)
				{
					num += CodedOutputStream.ComputeUInt32Size(6, this.ThumbUrlCount);
				}
				using (IEnumerator<SnsBufferUrl> enumerator = this.ThumbUrlsList.GetEnumerator())
				{
					while (enumerator.MoveNext())
					{
						SnsBufferUrl current = enumerator.get_Current();
						num += CodedOutputStream.ComputeMessageSize(7, current);
					}
				}
				if (this.hasId)
				{
					num += CodedOutputStream.ComputeUInt64Size(8, this.Id);
				}
				if (this.hasType)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.Type);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private SnsUploadResponse()
		{
		}
		public SnsBufferUrl GetThumbUrls(int index)
		{
			return this.thumbUrls_[index];
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] snsUploadResponseFieldNames = SnsUploadResponse._snsUploadResponseFieldNames;
			if (this.hasBaseResponse)
			{
				output.WriteMessage(1, snsUploadResponseFieldNames[0], this.BaseResponse);
			}
			if (this.hasStartPos)
			{
				output.WriteUInt32(2, snsUploadResponseFieldNames[4], this.StartPos);
			}
			if (this.hasTotalLen)
			{
				output.WriteUInt32(3, snsUploadResponseFieldNames[7], this.TotalLen);
			}
			if (this.hasClientId)
			{
				output.WriteString(4, snsUploadResponseFieldNames[2], this.ClientId);
			}
			if (this.hasBufferUrl)
			{
				output.WriteMessage(5, snsUploadResponseFieldNames[1], this.BufferUrl);
			}
			if (this.hasThumbUrlCount)
			{
				output.WriteUInt32(6, snsUploadResponseFieldNames[5], this.ThumbUrlCount);
			}
			if (this.thumbUrls_.Count > 0)
			{
				output.WriteMessageArray<SnsBufferUrl>(7, snsUploadResponseFieldNames[6], this.thumbUrls_);
			}
			if (this.hasId)
			{
				output.WriteUInt64(8, snsUploadResponseFieldNames[3], this.Id);
			}
			if (this.hasType)
			{
				output.WriteUInt32(9, snsUploadResponseFieldNames[8], this.Type);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseResponse)
			{
				num ^= this.baseResponse_.GetHashCode();
			}
			if (this.hasStartPos)
			{
				num ^= this.startPos_.GetHashCode();
			}
			if (this.hasTotalLen)
			{
				num ^= this.totalLen_.GetHashCode();
			}
			if (this.hasClientId)
			{
				num ^= this.clientId_.GetHashCode();
			}
			if (this.hasBufferUrl)
			{
				num ^= this.bufferUrl_.GetHashCode();
			}
			if (this.hasThumbUrlCount)
			{
				num ^= this.thumbUrlCount_.GetHashCode();
			}
			using (IEnumerator<SnsBufferUrl> enumerator = this.thumbUrls_.GetEnumerator())
			{
				while (enumerator.MoveNext())
				{
					SnsBufferUrl current = enumerator.get_Current();
					num ^= current.GetHashCode();
				}
			}
			if (this.hasId)
			{
				num ^= this.id_.GetHashCode();
			}
			if (this.hasType)
			{
				num ^= this.type_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object value)
		{
			SnsUploadResponse snsUploadResponse = value as SnsUploadResponse;
			if (snsUploadResponse == null)
			{
				return false;
			}
			if (this.hasBaseResponse != snsUploadResponse.hasBaseResponse || (this.hasBaseResponse && !this.baseResponse_.Equals(snsUploadResponse.baseResponse_)))
			{
				return false;
			}
			if (this.hasStartPos != snsUploadResponse.hasStartPos || (this.hasStartPos && !this.startPos_.Equals(snsUploadResponse.startPos_)))
			{
				return false;
			}
			if (this.hasTotalLen != snsUploadResponse.hasTotalLen || (this.hasTotalLen && !this.totalLen_.Equals(snsUploadResponse.totalLen_)))
			{
				return false;
			}
			if (this.hasClientId != snsUploadResponse.hasClientId || (this.hasClientId && !this.clientId_.Equals(snsUploadResponse.clientId_)))
			{
				return false;
			}
			if (this.hasBufferUrl != snsUploadResponse.hasBufferUrl || (this.hasBufferUrl && !this.bufferUrl_.Equals(snsUploadResponse.bufferUrl_)))
			{
				return false;
			}
			if (this.hasThumbUrlCount != snsUploadResponse.hasThumbUrlCount || (this.hasThumbUrlCount && !this.thumbUrlCount_.Equals(snsUploadResponse.thumbUrlCount_)))
			{
				return false;
			}
			if (this.thumbUrls_.Count != snsUploadResponse.thumbUrls_.Count)
			{
				return false;
			}
			for (int i = 0; i < this.thumbUrls_.Count; i++)
			{
				if (!this.thumbUrls_[i].Equals(snsUploadResponse.thumbUrls_[i]))
				{
					return false;
				}
			}
			return this.hasId == snsUploadResponse.hasId && (!this.hasId || this.id_.Equals(snsUploadResponse.id_)) && (this.hasType == snsUploadResponse.hasType && (!this.hasType || this.type_.Equals(snsUploadResponse.type_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("BaseResponse", this.hasBaseResponse, this.baseResponse_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("StartPos", this.hasStartPos, this.startPos_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("TotalLen", this.hasTotalLen, this.totalLen_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("ClientId", this.hasClientId, this.clientId_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("BufferUrl", this.hasBufferUrl, this.bufferUrl_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("ThumbUrlCount", this.hasThumbUrlCount, this.thumbUrlCount_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField<SnsBufferUrl>("ThumbUrls", this.thumbUrls_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("Id", this.hasId, this.id_, writer);
			GeneratedMessageLite<SnsUploadResponse, SnsUploadResponse.Builder>.PrintField("Type", this.hasType, this.type_, writer);
		}
		public static SnsUploadResponse ParseFrom(byte[] data)
		{
			return SnsUploadResponse.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private SnsUploadResponse MakeReadOnly()
		{
			this.thumbUrls_.MakeReadOnly();
			return this;
		}
		public static SnsUploadResponse.Builder CreateBuilder()
		{
			return new SnsUploadResponse.Builder();
		}
		public override SnsUploadResponse.Builder ToBuilder()
		{
			return SnsUploadResponse.CreateBuilder(this);
		}
		public override SnsUploadResponse.Builder CreateBuilderForType()
		{
			return new SnsUploadResponse.Builder();
		}
		public static SnsUploadResponse.Builder CreateBuilder(SnsUploadResponse prototype)
		{
			return new SnsUploadResponse.Builder(prototype);
		}
		static SnsUploadResponse()
		{
			SnsUploadResponse.defaultInstance = new SnsUploadResponse().MakeReadOnly();
			SnsUploadResponse._snsUploadResponseFieldNames = new string[]
			{
				"BaseResponse",
				"BufferUrl",
				"ClientId",
				"Id",
				"StartPos",
				"ThumbUrlCount",
				"ThumbUrls",
				"TotalLen",
				"Type"
			};
			SnsUploadResponse._snsUploadResponseFieldTags = new uint[]
			{
				10u,
				42u,
				34u,
				64u,
				16u,
				48u,
				58u,
				24u,
				72u
			};
			object.ReferenceEquals(micromsg.Proto.SnsUploadResponse.Descriptor, null);
		}
	}
}
